/**
 * (created at 2011-1-21)
 */
package qiushuo.mysqlparser.ast.expression.primary.literal;

import qiushuo.mysqlparser.ast.expression.primary.PrimaryExpression;
import qiushuo.mysqlparser.generator.SQLType;

/**
 * literal date is also possible
 * 
 * @author <a href="mailto:QiuShuo1985@gmail.com">QIU Shuo</a>
 */
public class LiteralNumber extends PrimaryExpression {
    private final String number;

    public LiteralNumber(String number) {
        this.number = number;
    }

    @Override
    public String generateSql(SQLType type) {
        return number;
    }
}
